package com.ggggeeennn.score.domain;

import com.ggggeeennn.common.annotation.Excel;
import com.ggggeeennn.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 成绩管理对象 score
 * 
 * @author ggggeeennn
 * @date 2025-06-26
 */
public class Score extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分数编号 */
    @Excel(name = "分数编号")
    private Long scoreId;

    /** 考试编号 */
    @Excel(name = "考试编号")
    private Long examCode;

    private String examName;

    /** 学号 */
    @Excel(name = "学号")
    private Long studentId;

    private String studentName;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String subject;

    /** 平时成绩 */
    @Excel(name = "平时成绩")
    private Long ptScore;

    /** 期末成绩 */
    @Excel(name = "期末成绩")
    private Long etScore;

    /** 总成绩 */
    @Excel(name = "总成绩")
    private Long score;

    /** 答题日期 */
    @Excel(name = "答题日期")
    private String answerDate;

    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public void setScoreId(Long scoreId)
    {
        this.scoreId = scoreId;
    }

    public Long getScoreId() 
    {
        return scoreId;
    }

    public void setExamCode(Long examCode) 
    {
        this.examCode = examCode;
    }

    public Long getExamCode() 
    {
        return examCode;
    }

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public void setSubject(String subject) 
    {
        this.subject = subject;
    }

    public String getSubject() 
    {
        return subject;
    }

    public void setPtScore(Long ptScore) 
    {
        this.ptScore = ptScore;
    }

    public Long getPtScore() 
    {
        return ptScore;
    }

    public void setEtScore(Long etScore) 
    {
        this.etScore = etScore;
    }

    public Long getEtScore() 
    {
        return etScore;
    }

    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    public void setAnswerDate(String answerDate)
    {
        this.answerDate = answerDate;
    }

    public String getAnswerDate()
    {
        return answerDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scoreId", getScoreId())
            .append("examCode", getExamCode())
            .append("studentId", getStudentId())
            .append("subject", getSubject())
            .append("ptScore", getPtScore())
            .append("etScore", getEtScore())
            .append("score", getScore())
            .append("answerDate", getAnswerDate())
            .toString();
    }
}
